package lgkj.meicqt20.service;

import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import android.support.annotation.Nullable;
import android.util.Log;


/**
 * Created by sxy on 2017/6/19.
 */

public class MyService extends Service {
    private String TAG = "MyService";

    @Nullable
    @Override
    public IBinder onBind(Intent intent) {
        return null;
    }

    @Override
    public void onCreate() {
        super.onCreate();
        Log.e(TAG, "000");
//        thread = new ConnectionHandlerThread("mina", getApplicationContext());
//        thread.start();
        new ClientServer(this);
//        new IoService(this);
    }

    @Override
    public void onDestroy() {
        super.onDestroy();
        Log.e(TAG, "onDestroy");
    }


}
